/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package semantica.tipos;

/**
 *
 * @author Javi
 */
public class TipoFloat extends Tipo{
    
    float valor;
    
    public TipoFloat(){
        this.tipo = "float";
        this.tam = 1;
    }
    
    public TipoFloat(float valor){
        this.tipo = "float";
        this.tam = 1;
        this.valor = valor;
    }
    
    public float getValor(){
        return this.valor;
    }
      public void setValor(int valor){
        this.valor = valor;
    }
       public void setValor(float valor){
        this.valor = valor;
    }
}